import request from '@/utils/request'

// 远程设置流水

// 列表  错误码300051
export function list(data) {
    const { pageNum, pageSize, ...other } = data;
    return request({
        url: `/device/operation/list/?pageNum=${pageNum}&pageSize=${pageSize}`,
        method: "post",
        data: { ...other },
    });
}

// 详情 错误码300052
export function detail(id) {
    return request({
        url: `/device/operation/detail/${id}`,
        method: 'get',
    })
}